<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>PVRTString.h</h1><a href="PVRTString_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
00002 <span class="comment"></span>
00003 <span class="comment"> @File         PVRTString.h</span>
00004 <span class="comment"></span>
00005 <span class="comment"> @Title        PVRTString</span>
00006 <span class="comment"></span>
00007 <span class="comment"> @Version      </span>
00008 <span class="comment"></span>
00009 <span class="comment"> @Copyright    Copyright (C)  Imagination Technologies Limited.</span>
00010 <span class="comment"></span>
00011 <span class="comment"> @Platform     ANSI compatible</span>
00012 <span class="comment"></span>
00013 <span class="comment"> @Description  A string class that can be used as drop-in replacement for</span>
00014 <span class="comment">               std::string on platforms/compilers that don't provide a full C++</span>
00015 <span class="comment">               standard library.</span>
00016 <span class="comment"></span>
00017 <span class="comment">******************************************************************************/</span>
00018 <span class="preprocessor">#ifndef _PVRTSTRING_H_</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#define _PVRTSTRING_H_</span>
00020 <span class="preprocessor"></span>
00021 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
00022 <span class="preprocessor">#define _USING_PVRTSTRING_</span>
00023 <span class="preprocessor"></span>
00024 <span class="comment">/*!***************************************************************************</span>
00025 <span class="comment"> @Class CPVRTString</span>
<a name="l00026"></a><a class="code" href="PVRTString_8h.html#a0">00026</a> <span class="comment"> @Brief A string class</span>
00027 <span class="comment">*****************************************************************************/</span>
00028 <span class="keyword">class </span><a class="code" href="classCPVRTString.html">CPVRTString</a>
00029 {
00030 <span class="keyword">public</span>:
00031     <span class="keyword">typedef</span> size_t  size_type;
<a name="l00032"></a><a class="code" href="classCPVRTString.html">00032</a>     <span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="classCPVRTString.html#w1">value_type</a>;
00033     <span class="keyword">typedef</span> <span class="keywordtype">char</span>&amp; <a class="code" href="classCPVRTString.html#w2">reference</a>;
00034     <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span>&amp; <a class="code" href="classCPVRTString.html#w3">const_reference</a>;
<a name="l00035"></a><a class="code" href="classCPVRTString.html#w0">00035</a> 
<a name="l00036"></a><a class="code" href="classCPVRTString.html#w1">00036</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCPVRTString.html#w0">size_type</a> <a class="code" href="classCPVRTString.html#s0">npos</a>;
<a name="l00037"></a><a class="code" href="classCPVRTString.html#w2">00037</a> 
<a name="l00038"></a><a class="code" href="classCPVRTString.html#w3">00038</a>     <span class="comment">/*!***********************************************************************</span>
00039 <span class="comment">    @Function           CPVRTString</span>
<a name="l00040"></a><a class="code" href="classCPVRTString.html#s0">00040</a> <span class="comment">    @Input              _Ptr    A string</span>
00041 <span class="comment">    @Input              _Count  Length of _Ptr</span>
00042 <span class="comment">    @Description        Constructor</span>
00043 <span class="comment">    ************************************************************************/</span>
00044     <a class="code" href="classCPVRTString.html#a4">CPVRTString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Count = npos);
00045 
00046     <span class="comment">/*!***********************************************************************</span>
00047 <span class="comment">    @Function           CPVRTString</span>
00048 <span class="comment">    @Input              _Right  A string</span>
00049 <span class="comment">    @Input              _Roff   Offset into _Right</span>
00050 <span class="comment">    @Input              _Count  Number of chars from _Right to assign to the new string</span>
00051 <span class="comment">    @Description        Constructor</span>
00052 <span class="comment">    ************************************************************************/</span>
00053     <a class="code" href="classCPVRTString.html#a4">CPVRTString</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right, size_t _Roff = 0, size_t _Count = npos);
00054 
00055     <span class="comment">/*!***********************************************************************</span>
00056 <span class="comment">    @Function           CPVRTString</span>
00057 <span class="comment">    @Input              _Count  Length of new string</span>
00058 <span class="comment">    @Input              _Ch     A char to fill it with</span>
00059 <span class="comment">    @Description        Constructor</span>
00060 <span class="comment">    *************************************************************************/</span>
00061     <a class="code" href="classCPVRTString.html#a4">CPVRTString</a>(size_t _Count, <span class="keyword">const</span> <span class="keywordtype">char</span> _Ch);
00062 
00063     <span class="comment">/*!***********************************************************************</span>
00064 <span class="comment">    @Function           CPVRTString</span>
00065 <span class="comment">    @Input              _Ch A char</span>
00066 <span class="comment">    @Description        Constructor</span>
00067 <span class="comment">    *************************************************************************/</span>
00068     <a class="code" href="classCPVRTString.html#a4">CPVRTString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> _Ch);
00069 
00070     <span class="comment">/*!***********************************************************************</span>
00071 <span class="comment">    @Function           CPVRTString</span>
00072 <span class="comment">    @Description        Constructor</span>
00073 <span class="comment">    ************************************************************************/</span>
00074     <a class="code" href="classCPVRTString.html#a4">CPVRTString</a>();
00075 
00076     <span class="comment">/*!***********************************************************************</span>
00077 <span class="comment">    @Function           ~CPVRTString</span>
00078 <span class="comment">    @Description        Destructor</span>
00079 <span class="comment">    ************************************************************************/</span>
00080     <span class="keyword">virtual</span> <a class="code" href="classCPVRTString.html#a5">~CPVRTString</a>();
00081 
00082     <span class="comment">/*!***********************************************************************</span>
00083 <span class="comment">    @Function           append</span>
00084 <span class="comment">    @Input              _Ptr    A string</span>
00085 <span class="comment">    @Returns            Updated string</span>
00086 <span class="comment">    @Description        Appends a string</span>
00087 <span class="comment">    *************************************************************************/</span>
00088     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a6">append</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr);
00089 
00090     <span class="comment">/*!***********************************************************************</span>
00091 <span class="comment">    @Function           append</span>
00092 <span class="comment">    @Input              _Ptr    A string</span>
00093 <span class="comment">    @Input              _Count  String length</span>
00094 <span class="comment">    @Returns            Updated string</span>
00095 <span class="comment">    @Description        Appends a string of length _Count</span>
00096 <span class="comment">    *************************************************************************/</span>
00097     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a6">append</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Count);
00098 
00099     <span class="comment">/*!***********************************************************************</span>
00100 <span class="comment">    @Function           append</span>
00101 <span class="comment">    @Input              _Str    A string</span>
00102 <span class="comment">    @Returns            Updated string</span>
00103 <span class="comment">    @Description        Appends a string</span>
00104 <span class="comment">    *************************************************************************/</span>
00105     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a6">append</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str);
00106 
00107     <span class="comment">/*!***********************************************************************</span>
00108 <span class="comment">    @Function           append</span>
00109 <span class="comment">    @Input              _Str    A string</span>
00110 <span class="comment">    @Input              _Off    A position in string</span>
00111 <span class="comment">    @Input              _Count  Number of letters to append</span>
00112 <span class="comment">    @Returns            Updated string</span>
00113 <span class="comment">    @Description        Appends _Count letters of _Str from _Off in _Str</span>
00114 <span class="comment">    *************************************************************************/</span>
00115     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a6">append</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off, size_t _Count);
00116 
00117     <span class="comment">/*!***********************************************************************</span>
00118 <span class="comment">    @Function           append</span>
00119 <span class="comment">    @Input              _Ch     A char</span>
00120 <span class="comment">    @Input              _Count  Number of times to append _Ch</span>
00121 <span class="comment">    @Returns            Updated string</span>
00122 <span class="comment">    @Description        Appends _Ch _Count times</span>
00123 <span class="comment">    *************************************************************************/</span>
00124     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a6">append</a>(size_t _Count, <span class="keyword">const</span> <span class="keywordtype">char</span> _Ch);
00125 
00126     <span class="comment">//template&lt;class InputIterator&gt; CPVRTString&amp; append(InputIterator _First, InputIterator _Last);</span>
00127 
00128     <span class="comment">/*!***********************************************************************</span>
00129 <span class="comment">    @Function           assign</span>
00130 <span class="comment">    @Input              _Ptr A string</span>
00131 <span class="comment">    @Returns            Updated string</span>
00132 <span class="comment">    @Description        Assigns the string to the string _Ptr</span>
00133 <span class="comment">    *************************************************************************/</span>
00134     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a11">assign</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr);
00135 
00136     <span class="comment">/*!***********************************************************************</span>
00137 <span class="comment">    @Function           assign</span>
00138 <span class="comment">    @Input              _Ptr A string</span>
00139 <span class="comment">    @Input              _Count Length of _Ptr</span>
00140 <span class="comment">    @Returns            Updated string</span>
00141 <span class="comment">    @Description        Assigns the string to the string _Ptr</span>
00142 <span class="comment">    *************************************************************************/</span>
00143     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a11">assign</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Count);
00144 
00145     <span class="comment">/*!***********************************************************************</span>
00146 <span class="comment">    @Function           assign</span>
00147 <span class="comment">    @Input              _Str A string</span>
00148 <span class="comment">    @Returns            Updated string</span>
00149 <span class="comment">    @Description        Assigns the string to the string _Str</span>
00150 <span class="comment">    *************************************************************************/</span>
00151     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a11">assign</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str);
00152 
00153     <span class="comment">/*!***********************************************************************</span>
00154 <span class="comment">    @Function           assign</span>
00155 <span class="comment">    @Input              _Str A string</span>
00156 <span class="comment">    @Input              _Off First char to start assignment from</span>
00157 <span class="comment">    @Input              _Count Length of _Str</span>
00158 <span class="comment">    @Returns            Updated string</span>
00159 <span class="comment">    @Description        Assigns the string to _Count characters in string _Str starting at _Off</span>
00160 <span class="comment">    *************************************************************************/</span>
00161     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a11">assign</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off, size_t _Count=npos);
00162 
00163     <span class="comment">/*!***********************************************************************</span>
00164 <span class="comment">    @Function           assign</span>
00165 <span class="comment">    @Input              _Ch A string</span>
00166 <span class="comment">    @Input              _Count Number of times to repeat _Ch</span>
00167 <span class="comment">    @Returns            Updated string</span>
00168 <span class="comment">    @Description        Assigns the string to _Count copies of _Ch</span>
00169 <span class="comment">    *************************************************************************/</span>
00170     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a11">assign</a>(size_t _Count, <span class="keywordtype">char</span> _Ch);
00171 
00172     <span class="comment">//template&lt;class InputIterator&gt; CPVRTString&amp; assign(InputIterator _First, InputIterator _Last);</span>
00173 
00174     <span class="comment">//const_reference at(size_t _Off) const;</span>
00175     <span class="comment">//reference at(size_t _Off);</span>
00176 
00177     <span class="comment">// const_iterator begin() const;</span>
00178     <span class="comment">// iterator begin();</span>
00179 
00180     <span class="comment">/*!***********************************************************************</span>
00181 <span class="comment">    @Function           c_str</span>
00182 <span class="comment">    @Returns            const char* pointer of the string</span>
00183 <span class="comment">    @Description        Returns a const char* pointer of the string</span>
00184 <span class="comment">    *************************************************************************/</span>
00185     <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classCPVRTString.html#a16">c_str</a>() <span class="keyword">const</span>;
00186 
00187     <span class="comment">/*!***********************************************************************</span>
00188 <span class="comment">    @Function           capacity</span>
00189 <span class="comment">    @Returns            The size of the character array reserved</span>
00190 <span class="comment">    @Description        Returns the size of the character array reserved</span>
00191 <span class="comment">    *************************************************************************/</span>
00192     size_t <a class="code" href="classCPVRTString.html#a17">capacity</a>() <span class="keyword">const</span>;
00193 
00194     <span class="comment">/*!***********************************************************************</span>
00195 <span class="comment">    @Function           clear</span>
00196 <span class="comment">    @Description        Clears the string</span>
00197 <span class="comment">    *************************************************************************/</span>
00198     <span class="keywordtype">void</span> <a class="code" href="classCPVRTString.html#a18">clear</a>();
00199 
00200     <span class="comment">/*!***********************************************************************</span>
00201 <span class="comment">    @Function           compare</span>
00202 <span class="comment">    @Input              _Str A string to compare with</span>
00203 <span class="comment">    @Returns            0 if the strings match</span>
00204 <span class="comment">    @Description        Compares the string with _Str</span>
00205 <span class="comment">    *************************************************************************/</span>
00206     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str) <span class="keyword">const</span>;
00207 
00208     <span class="comment">/*!***********************************************************************</span>
00209 <span class="comment">    @Function           compare</span>
00210 <span class="comment">    @Input              _Pos1   Position to start comparing from</span>
00211 <span class="comment">    @Input              _Num1   Number of chars to compare</span>
00212 <span class="comment">    @Input              _Str    A string to compare with</span>
00213 <span class="comment">    @Returns            0 if the strings match</span>
00214 <span class="comment">    @Description        Compares the string with _Str</span>
00215 <span class="comment">    *************************************************************************/</span>
00216     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(size_t _Pos1, size_t _Num1, <span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str) <span class="keyword">const</span>;
00217 
00218     <span class="comment">/*!***********************************************************************</span>
00219 <span class="comment">    @Function           compare</span>
00220 <span class="comment">    @Input              _Pos1   Position to start comparing from</span>
00221 <span class="comment">    @Input              _Num1   Number of chars to compare</span>
00222 <span class="comment">    @Input              _Str    A string to compare with</span>
00223 <span class="comment">    @Input              _Off    Position in _Str to compare from</span>
00224 <span class="comment">    @Input              _Count  Number of chars in _Str to compare with</span>
00225 <span class="comment">    @Returns            0 if the strings match</span>
00226 <span class="comment">    @Description        Compares the string with _Str</span>
00227 <span class="comment">    *************************************************************************/</span>
00228     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(size_t _Pos1, size_t _Num1, <span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off, size_t _Count) <span class="keyword">const</span>;
00229 
00230     <span class="comment">/*!***********************************************************************</span>
00231 <span class="comment">    @Function           compare</span>
00232 <span class="comment">    @Input              _Ptr A string to compare with</span>
00233 <span class="comment">    @Returns            0 if the strings match</span>
00234 <span class="comment">    @Description        Compares the string with _Ptr</span>
00235 <span class="comment">    *************************************************************************/</span>
00236     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr) <span class="keyword">const</span>;
00237 
00238     <span class="comment">/*!***********************************************************************</span>
00239 <span class="comment">    @Function           compare</span>
00240 <span class="comment">    @Input              _Pos1   Position to start comparing from</span>
00241 <span class="comment">    @Input              _Num1   Number of chars to compare</span>
00242 <span class="comment">    @Input              _Ptr    A string to compare with</span>
00243 <span class="comment">    @Returns            0 if the strings match</span>
00244 <span class="comment">    @Description        Compares the string with _Ptr</span>
00245 <span class="comment">    *************************************************************************/</span>
00246     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(size_t _Pos1, size_t _Num1, <span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr) <span class="keyword">const</span>;
00247 
00248     <span class="comment">/*!***********************************************************************</span>
00249 <span class="comment">    @Function           compare</span>
00250 <span class="comment">    @Input              _Pos1   Position to start comparing from</span>
00251 <span class="comment">    @Input              _Num1   Number of chars to compare</span>
00252 <span class="comment">    @Input              _Ptr    A string to compare with</span>
00253 <span class="comment">    @Input              _Count  Number of chars to compare</span>
00254 <span class="comment">    @Returns            0 if the strings match</span>
00255 <span class="comment">    @Description        Compares the string with _Str</span>
00256 <span class="comment">    *************************************************************************/</span>
00257     <span class="keywordtype">int</span> <a class="code" href="classCPVRTString.html#a19">compare</a>(size_t _Pos1, size_t _Num1, <span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Count = npos) <span class="keyword">const</span>;
00258 
00259     <span class="comment">/*!***********************************************************************</span>
00260 <span class="comment">    @Function           &lt;</span>
00261 <span class="comment">    @Input              _Str A string to compare with</span>
00262 <span class="comment">    @Returns            True on success</span>
00263 <span class="comment">    @Description        Less than operator</span>
00264 <span class="comment">    *************************************************************************/</span>
00265     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a25">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> &amp; _Str) <span class="keyword">const</span>;
00266 
00267     <span class="comment">/*!***********************************************************************</span>
00268 <span class="comment">    @Function       ==</span>
00269 <span class="comment">    @Input          _Str    A string to compare with</span>
00270 <span class="comment">    @Returns        True if they match</span>
00271 <span class="comment">    @Description    == Operator</span>
00272 <span class="comment">    *************************************************************************/</span>
00273     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a26">operator==</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str) <span class="keyword">const</span>;
00274 
00275     <span class="comment">/*!***********************************************************************</span>
00276 <span class="comment">    @Function       ==</span>
00277 <span class="comment">    @Input          _Ptr    A string to compare with</span>
00278 <span class="comment">    @Returns        True if they match</span>
00279 <span class="comment">    @Description    == Operator</span>
00280 <span class="comment">    *************************************************************************/</span>
00281     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a26">operator==</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> _Ptr) <span class="keyword">const</span>;
00282 
00283     <span class="comment">/*!***********************************************************************</span>
00284 <span class="comment">    @Function           !=</span>
00285 <span class="comment">    @Input              _Str    A string to compare with</span>
00286 <span class="comment">    @Returns            True if they don't match</span>
00287 <span class="comment">    @Description        != Operator</span>
00288 <span class="comment">    *************************************************************************/</span>
00289     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a28">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str) <span class="keyword">const</span>;
00290 
00291     <span class="comment">/*!***********************************************************************</span>
00292 <span class="comment">    @Function           !=</span>
00293 <span class="comment">    @Input              _Ptr    A string to compare with</span>
00294 <span class="comment">    @Returns            True if they don't match</span>
00295 <span class="comment">    @Description        != Operator</span>
00296 <span class="comment">    *************************************************************************/</span>
00297     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a28">operator!=</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> _Ptr) <span class="keyword">const</span>;
00298 
00299     <span class="comment">/*!***********************************************************************</span>
00300 <span class="comment">    @Function           copy</span>
00301 <span class="comment">    @Modified           _Ptr    A string to copy to</span>
00302 <span class="comment">    @Input              _Count  Size of _Ptr</span>
00303 <span class="comment">    @Input              _Off    Position to start copying from</span>
00304 <span class="comment">    @Returns            Number of bytes copied</span>
00305 <span class="comment">    @Description        Copies the string to _Ptr</span>
00306 <span class="comment">    *************************************************************************/</span>
00307     size_t <a class="code" href="classCPVRTString.html#a30">copy</a>(<span class="keywordtype">char</span>* _Ptr, size_t _Count, size_t _Off = 0) <span class="keyword">const</span>;
00308 
00309     <span class="comment">/*!***********************************************************************</span>
00310 <span class="comment">    @Function           data</span>
00311 <span class="comment">    @Returns            A const char* version of the string</span>
00312 <span class="comment">    @Description        Returns a const char* version of the string</span>
00313 <span class="comment">    *************************************************************************/</span>
00314     <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classCPVRTString.html#a31">data</a>( ) <span class="keyword">const</span>;
00315 
00316     <span class="comment">/*!***********************************************************************</span>
00317 <span class="comment">    @Function           empty</span>
00318 <span class="comment">    @Returns            True if the string is empty</span>
00319 <span class="comment">    @Description        Returns true if the string is empty</span>
00320 <span class="comment">    *************************************************************************/</span>
00321     <span class="keywordtype">bool</span> <a class="code" href="classCPVRTString.html#a32">empty</a>() <span class="keyword">const</span>;
00322 
00323     <span class="comment">// const_iterator end() const;</span>
00324     <span class="comment">// iterator end();</span>
00325 
00326     <span class="comment">//iterator erase(iterator _First, iterator _Last);</span>
00327     <span class="comment">//iterator erase(iterator _It);</span>
00328 
00329     <span class="comment">/*!***********************************************************************</span>
00330 <span class="comment">    @Function           erase</span>
00331 <span class="comment">    @Input              _Pos    The position to start erasing from</span>
00332 <span class="comment">    @Input              _Count  Number of chars to erase</span>
00333 <span class="comment">    @Returns            An updated string</span>
00334 <span class="comment">    @Description        Erases a portion of the string</span>
00335 <span class="comment">    *************************************************************************/</span>
00336     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a33">erase</a>(size_t _Pos = 0, size_t _Count = npos);
00337 
00338     <span class="comment">//size_t find(char _Ch, size_t _Off = 0) const;</span>
00339     <span class="comment">//size_t find(const char* _Ptr, size_t _Off = 0) const;</span>
00340     <span class="comment">//size_t find(const char* _Ptr, size_t _Off = 0, size_t _Count) const;</span>
00341     <span class="comment">//size_t find(const CPVRTString&amp; _Str, size_t _Off = 0) const;</span>
00342 
00343     <span class="comment">/*!***********************************************************************</span>
00344 <span class="comment">    @Function           find_first_not_of</span>
00345 <span class="comment">    @Input              _Ch     A char</span>
00346 <span class="comment">    @Input              _Off    Start position of the find</span>
00347 <span class="comment">    @Returns            Position of the first char that is not _Ch</span>
00348 <span class="comment">    @Description        Returns the position of the first char that is not _Ch</span>
00349 <span class="comment">    *************************************************************************/</span>
00350     size_t <a class="code" href="classCPVRTString.html#a34">find_first_not_of</a>(<span class="keywordtype">char</span> _Ch, size_t _Off = 0) <span class="keyword">const</span>;
00351 
00352     <span class="comment">/*!***********************************************************************</span>
00353 <span class="comment">    @Function           find_first_not_of</span>
00354 <span class="comment">    @Input              _Ptr    A string</span>
00355 <span class="comment">    @Input              _Off    Start position of the find</span>
00356 <span class="comment">    @Returns            Position of the first char that is not in _Ptr</span>
00357 <span class="comment">    @Description        Returns the position of the first char that is not in _Ptr</span>
00358 <span class="comment">    *************************************************************************/</span>
00359     size_t <a class="code" href="classCPVRTString.html#a34">find_first_not_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off = 0) <span class="keyword">const</span>;
00360 
00361     <span class="comment">/*!***********************************************************************</span>
00362 <span class="comment">    @Function           find_first_not_of</span>
00363 <span class="comment">    @Input              _Ptr    A string</span>
00364 <span class="comment">    @Input              _Off    Start position of the find</span>
00365 <span class="comment">    @Input              _Count  Number of chars in _Ptr</span>
00366 <span class="comment">    @Returns            Position of the first char that is not in _Ptr</span>
00367 <span class="comment">    @Description        Returns the position of the first char that is not in _Ptr</span>
00368 <span class="comment">    *************************************************************************/</span>
00369     size_t <a class="code" href="classCPVRTString.html#a34">find_first_not_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off, size_t _Count) <span class="keyword">const</span>;
00370 
00371     <span class="comment">/*!***********************************************************************</span>
00372 <span class="comment">    @Function           find_first_not_of</span>
00373 <span class="comment">    @Input              _Str    A string</span>
00374 <span class="comment">    @Input              _Off    Start position of the find</span>
00375 <span class="comment">    @Returns            Position of the first char that is not in _Str</span>
00376 <span class="comment">    @Description        Returns the position of the first char that is not in _Str</span>
00377 <span class="comment">    *************************************************************************/</span>
00378     size_t <a class="code" href="classCPVRTString.html#a34">find_first_not_of</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off = 0) <span class="keyword">const</span>;
00379 
00380     <span class="comment">/*!***********************************************************************</span>
00381 <span class="comment">    @Function           find_first_of</span>
00382 <span class="comment">    @Input              _Ch     A char</span>
00383 <span class="comment">    @Input              _Off    Start position of the find</span>
00384 <span class="comment">    @Returns            Position of the first char that is _Ch</span>
00385 <span class="comment">    @Description        Returns the position of the first char that is _Ch</span>
00386 <span class="comment">    *************************************************************************/</span>
00387     size_t <a class="code" href="classCPVRTString.html#a38">find_first_of</a>(<span class="keywordtype">char</span> _Ch, size_t _Off = 0) <span class="keyword">const</span>;
00388 
00389     <span class="comment">/*!***********************************************************************</span>
00390 <span class="comment">    @Function           find_first_of</span>
00391 <span class="comment">    @Input              _Ptr    A string</span>
00392 <span class="comment">    @Input              _Off    Start position of the find</span>
00393 <span class="comment">    @Returns            Position of the first char that matches a char in _Ptr</span>
00394 <span class="comment">    @Description        Returns the position of the first char that matches a char in _Ptr</span>
00395 <span class="comment">    *************************************************************************/</span>
00396     size_t <a class="code" href="classCPVRTString.html#a38">find_first_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off = 0) <span class="keyword">const</span>;
00397 
00398     <span class="comment">/*!***********************************************************************</span>
00399 <span class="comment">    @Function           find_first_of</span>
00400 <span class="comment">    @Input              _Ptr    A string</span>
00401 <span class="comment">    @Input              _Off    Start position of the find</span>
00402 <span class="comment">    @Input              _Count  Size of _Ptr</span>
00403 <span class="comment">    @Returns            Position of the first char that matches a char in _Ptr</span>
00404 <span class="comment">    @Description        Returns the position of the first char that matches a char in _Ptr</span>
00405 <span class="comment">    *************************************************************************/</span>
00406     size_t <a class="code" href="classCPVRTString.html#a38">find_first_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off, size_t _Count) <span class="keyword">const</span>;
00407 
00408     <span class="comment">/*!***********************************************************************</span>
00409 <span class="comment">    @Function           find_first_of</span>
00410 <span class="comment">    @Input              _Str    A string</span>
00411 <span class="comment">    @Input              _Off    Start position of the find</span>
00412 <span class="comment">    @Returns            Position of the first char that matches a char in _Str</span>
00413 <span class="comment">    @Description        Returns the position of the first char that matches a char in _Str</span>
00414 <span class="comment">    *************************************************************************/</span>
00415     size_t <a class="code" href="classCPVRTString.html#a38">find_first_of</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off = 0) <span class="keyword">const</span>;
00416 
00417     <span class="comment">/*!***********************************************************************</span>
00418 <span class="comment">    @Function           find_last_not_of</span>
00419 <span class="comment">    @Input              _Ch     A char</span>
00420 <span class="comment">    @Input              _Off    Start position of the find</span>
00421 <span class="comment">    @Returns            Position of the last char that is not _Ch</span>
00422 <span class="comment">    @Description        Returns the position of the last char that is not _Ch</span>
00423 <span class="comment">    *************************************************************************/</span>
00424     size_t <a class="code" href="classCPVRTString.html#a42">find_last_not_of</a>(<span class="keywordtype">char</span> _Ch, size_t _Off = 0) <span class="keyword">const</span>;
00425 
00426     <span class="comment">/*!***********************************************************************</span>
00427 <span class="comment">    @Function           find_last_not_of</span>
00428 <span class="comment">    @Input              _Ptr    A string</span>
00429 <span class="comment">    @Input              _Off    Start position of the find</span>
00430 <span class="comment">    @Returns            Position of the last char that is not in _Ptr</span>
00431 <span class="comment">    @Description        Returns the position of the last char that is not in _Ptr</span>
00432 <span class="comment">    *************************************************************************/</span>
00433     size_t <a class="code" href="classCPVRTString.html#a42">find_last_not_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off = 0) <span class="keyword">const</span>;
00434 
00435     <span class="comment">/*!***********************************************************************</span>
00436 <span class="comment">    @Function           find_last_not_of</span>
00437 <span class="comment">    @Input              _Ptr    A string</span>
00438 <span class="comment">    @Input              _Off    Start position of the find</span>
00439 <span class="comment">    @Input              _Count  Length of _Ptr</span>
00440 <span class="comment">    @Returns            Position of the last char that is not in _Ptr</span>
00441 <span class="comment">    @Description        Returns the position of the last char that is not in _Ptr</span>
00442 <span class="comment">    *************************************************************************/</span>
00443     size_t <a class="code" href="classCPVRTString.html#a42">find_last_not_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off, size_t _Count) <span class="keyword">const</span>;
00444 
00445     <span class="comment">/*!***********************************************************************</span>
00446 <span class="comment">    @Function           find_last_not_of</span>
00447 <span class="comment">    @Input              _Str    A string</span>
00448 <span class="comment">    @Input              _Off    Start position of the find</span>
00449 <span class="comment">    @Returns            Position of the last char that is not in _Str</span>
00450 <span class="comment">    @Description        Returns the position of the last char that is not in _Str</span>
00451 <span class="comment">    *************************************************************************/</span>
00452     size_t <a class="code" href="classCPVRTString.html#a42">find_last_not_of</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off = 0) <span class="keyword">const</span>;
00453 
00454     <span class="comment">/*!***********************************************************************</span>
00455 <span class="comment">    @Function           find_last_of</span>
00456 <span class="comment">    @Input              _Ch     A char</span>
00457 <span class="comment">    @Input              _Off    Start position of the find</span>
00458 <span class="comment">    @Returns            Position of the last char that is _Ch</span>
00459 <span class="comment">    @Description        Returns the position of the last char that is _Ch</span>
00460 <span class="comment">    *************************************************************************/</span>
00461     size_t <a class="code" href="classCPVRTString.html#a46">find_last_of</a>(<span class="keywordtype">char</span> _Ch, size_t _Off = 0) <span class="keyword">const</span>;
00462 
00463     <span class="comment">/*!***********************************************************************</span>
00464 <span class="comment">    @Function           find_last_of</span>
00465 <span class="comment">    @Input              _Ptr    A string</span>
00466 <span class="comment">    @Input              _Off    Start position of the find</span>
00467 <span class="comment">    @Returns            Position of the last char that is in _Ptr</span>
00468 <span class="comment">    @Description        Returns the position of the last char that is in _Ptr</span>
00469 <span class="comment">    *************************************************************************/</span>
00470     size_t <a class="code" href="classCPVRTString.html#a46">find_last_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off = 0) <span class="keyword">const</span>;
00471 
00472     <span class="comment">/*!***********************************************************************</span>
00473 <span class="comment">    @Function           find_last_of</span>
00474 <span class="comment">    @Input              _Ptr    A string</span>
00475 <span class="comment">    @Input              _Off    Start position of the find</span>
00476 <span class="comment">    @Input              _Count  Length of _Ptr</span>
00477 <span class="comment">    @Returns            Position of the last char that is in _Ptr</span>
00478 <span class="comment">    @Description        Returns the position of the last char that is in _Ptr</span>
00479 <span class="comment">    *************************************************************************/</span>
00480     size_t <a class="code" href="classCPVRTString.html#a46">find_last_of</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr, size_t _Off, size_t _Count) <span class="keyword">const</span>;
00481 
00482     <span class="comment">/*!***********************************************************************</span>
00483 <span class="comment">    @Function           find_last_of</span>
00484 <span class="comment">    @Input              _Str    A string</span>
00485 <span class="comment">    @Input              _Off    Start position of the find</span>
00486 <span class="comment">    @Returns            Position of the last char that is in _Str</span>
00487 <span class="comment">    @Description        Returns the position of the last char that is in _Str</span>
00488 <span class="comment">    *************************************************************************/</span>
00489     size_t <a class="code" href="classCPVRTString.html#a46">find_last_of</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str, size_t _Off = 0) <span class="keyword">const</span>;
00490 
00491     <span class="comment">//allocator_type get_allocator( ) const;</span>
00492 
00493     <span class="comment">//CPVRTString&amp; insert(size_t _P0, const char* _Ptr);</span>
00494     <span class="comment">//CPVRTString&amp; insert(size_t _P0, const char* _Ptr, size_t _Count);</span>
00495     <span class="comment">//CPVRTString&amp; insert(size_t _P0, const CPVRTString&amp; _Str);</span>
00496     <span class="comment">//CPVRTString&amp; insert(size_t _P0, const CPVRTString&amp; _Str, size_t _Off, size_t _Count);</span>
00497     <span class="comment">//CPVRTString&amp; insert(size_t _P0, size_t _Count, char _Ch);</span>
00498     <span class="comment">//iterator insert(iterator _It, char _Ch = char());</span>
00499     <span class="comment">//template&lt;class InputIterator&gt; void insert(iterator _It, InputIterator _First, InputIterator _Last);</span>
00500     <span class="comment">//void insert(iterator _It, size_t _Count, char _Ch);</span>
00501 
00502     <span class="comment">/*!***********************************************************************</span>
00503 <span class="comment">    @Function           length</span>
00504 <span class="comment">    @Returns            Length of the string</span>
00505 <span class="comment">    @Description        Returns the length of the string</span>
00506 <span class="comment">    *************************************************************************/</span>
00507     size_t <a class="code" href="classCPVRTString.html#a50">length</a>() <span class="keyword">const</span>;
00508 
00509     <span class="comment">/*!***********************************************************************</span>
00510 <span class="comment">    @Function           max_size</span>
00511 <span class="comment">    @Returns            The maximum number of chars that the string can contain</span>
00512 <span class="comment">    @Description        Returns the maximum number of chars that the string can contain</span>
00513 <span class="comment">    *************************************************************************/</span>
00514     size_t <a class="code" href="classCPVRTString.html#a51">max_size</a>() <span class="keyword">const</span>;
00515 
00516     <span class="comment">/*!***********************************************************************</span>
00517 <span class="comment">    @Function           push_back</span>
00518 <span class="comment">    @Input              _Ch A char to append</span>
00519 <span class="comment">    @Description        Appends _Ch to the string</span>
00520 <span class="comment">    *************************************************************************/</span>
00521     <span class="keywordtype">void</span> <a class="code" href="classCPVRTString.html#a52">push_back</a>(<span class="keywordtype">char</span> _Ch);
00522 
00523     <span class="comment">// const_reverse_iterator rbegin() const;</span>
00524     <span class="comment">// reverse_iterator rbegin();</span>
00525 
00526     <span class="comment">// const_reverse_iterator rend() const;</span>
00527     <span class="comment">// reverse_iterator rend();</span>
00528 
00529     <span class="comment">//CPVRTString&amp; replace(size_t _Pos1, size_t _Num1, const char* _Ptr);</span>
00530     <span class="comment">//CPVRTString&amp; replace(size_t _Pos1, size_t _Num1, const CPVRTString&amp; _Str);</span>
00531     <span class="comment">//CPVRTString&amp; replace(size_t _Pos1, size_t _Num1, const char* _Ptr, size_t _Num2);</span>
00532     <span class="comment">//CPVRTString&amp; replace(size_t _Pos1, size_t _Num1, const CPVRTString&amp; _Str, size_t _Pos2, size_t _Num2);</span>
00533     <span class="comment">//CPVRTString&amp; replace(size_t _Pos1, size_t _Num1, size_t _Count, char _Ch);</span>
00534 
00535     <span class="comment">//CPVRTString&amp; replace(iterator _First0, iterator _Last0, const char* _Ptr);</span>
00536     <span class="comment">//CPVRTString&amp; replace(iterator _First0, iterator _Last0, const CPVRTString&amp; _Str);</span>
00537     <span class="comment">//CPVRTString&amp; replace(iterator _First0, iterator _Last0, const char* _Ptr, size_t _Num2);</span>
00538     <span class="comment">//CPVRTString&amp; replace(iterator _First0, iterator _Last0, size_t _Num2, char _Ch);</span>
00539     <span class="comment">//template&lt;class InputIterator&gt; CPVRTString&amp; replace(iterator _First0, iterator _Last0, InputIterator _First, InputIterator _Last);</span>
00540 
00541     <span class="comment">/*!***********************************************************************</span>
00542 <span class="comment">    @Function           reserve</span>
00543 <span class="comment">    @Input              _Count Size of string to reserve</span>
00544 <span class="comment">    @Description        Reserves space for _Count number of chars</span>
00545 <span class="comment">    *************************************************************************/</span>
00546     <span class="keywordtype">void</span> <a class="code" href="classCPVRTString.html#a53">reserve</a>(size_t _Count = 0);
00547 
00548     <span class="comment">/*!***********************************************************************</span>
00549 <span class="comment">    @Function           resize</span>
00550 <span class="comment">    @Input              _Count  Size of string to resize to</span>
00551 <span class="comment">    @Input              _Ch     Character to use to fill any additional space</span>
00552 <span class="comment">    @Description        Resizes the string to _Count in length</span>
00553 <span class="comment">    *************************************************************************/</span>
00554     <span class="keywordtype">void</span> <a class="code" href="classCPVRTString.html#a54">resize</a>(size_t _Count, <span class="keywordtype">char</span> _Ch = <span class="keywordtype">char</span>());
00555 
00556     <span class="comment">//size_t rfind(char _Ch, size_t _Off = npos) const;</span>
00557     <span class="comment">//size_t rfind(const char* _Ptr, size_t _Off = npos) const;</span>
00558     <span class="comment">//size_t rfind(const char* _Ptr, size_t _Off = npos, size_t _Count) const;</span>
00559     <span class="comment">//size_t rfind(const CPVRTString&amp; _Str, size_t _Off = npos) const;</span>
00560 
00561     <span class="comment">/*!***********************************************************************</span>
00562 <span class="comment">    @Function           size</span>
00563 <span class="comment">    @Returns            Size of the string</span>
00564 <span class="comment">    @Description        Returns the size of the string</span>
00565 <span class="comment">    *************************************************************************/</span>
00566     size_t <a class="code" href="classCPVRTString.html#a55">size</a>() <span class="keyword">const</span>;
00567 
00568     <span class="comment">/*!***********************************************************************</span>
00569 <span class="comment">    @Function           substr</span>
00570 <span class="comment">    @Input              _Off    Start of the substring</span>
00571 <span class="comment">    @Input              _Count  Length of the substring</span>
00572 <span class="comment">    @Returns            A substring of the string</span>
00573 <span class="comment">    @Description        Returns the size of the string</span>
00574 <span class="comment">    *************************************************************************/</span>
00575     <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#a56">substr</a>(size_t _Off = 0, size_t _Count = npos) <span class="keyword">const</span>;
00576 
00577     <span class="comment">/*!***********************************************************************</span>
00578 <span class="comment">    @Function           swap</span>
00579 <span class="comment">    @Input              _Str    A string to swap with</span>
00580 <span class="comment">    @Description        Swaps the contents of the string with _Str</span>
00581 <span class="comment">    *************************************************************************/</span>
00582     <span class="keywordtype">void</span> <a class="code" href="classCPVRTString.html#a57">swap</a>(<a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Str);
00583 
00584     <span class="comment">/*!***********************************************************************</span>
00585 <span class="comment">    @Function           toLower</span>
00586 <span class="comment">    @Returns            An updated string</span>
00587 <span class="comment">    @Description        Converts the string to lower case</span>
00588 <span class="comment">    *************************************************************************/</span>
00589     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a58">toLower</a>();
00590 
00591     <span class="comment">/*!***********************************************************************</span>
00592 <span class="comment">    @Function           +=</span>
00593 <span class="comment">    @Input              _Ch A char</span>
00594 <span class="comment">    @Returns            An updated string</span>
00595 <span class="comment">    @Description        += Operator</span>
00596 <span class="comment">    *************************************************************************/</span>
00597     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a59">operator+=</a>(<span class="keywordtype">char</span> _Ch);
00598 
00599     <span class="comment">/*!***********************************************************************</span>
00600 <span class="comment">    @Function           +=</span>
00601 <span class="comment">    @Input              _Ptr A string</span>
00602 <span class="comment">    @Returns            An updated string</span>
00603 <span class="comment">    @Description        += Operator</span>
00604 <span class="comment">    *************************************************************************/</span>
00605     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a59">operator+=</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr);
00606 
00607     <span class="comment">/*!***********************************************************************</span>
00608 <span class="comment">    @Function           +=</span>
00609 <span class="comment">    @Input              _Right A string</span>
00610 <span class="comment">    @Returns            An updated string</span>
00611 <span class="comment">    @Description        += Operator</span>
00612 <span class="comment">    *************************************************************************/</span>
00613     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a59">operator+=</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right);
00614 
00615     <span class="comment">/*!***********************************************************************</span>
00616 <span class="comment">    @Function           =</span>
00617 <span class="comment">    @Input              _Ch A char</span>
00618 <span class="comment">    @Returns            An updated string</span>
00619 <span class="comment">    @Description        = Operator</span>
00620 <span class="comment">    *************************************************************************/</span>
00621     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a62">operator=</a>(<span class="keywordtype">char</span> _Ch);
00622 
00623     <span class="comment">/*!***********************************************************************</span>
00624 <span class="comment">    @Function           =</span>
00625 <span class="comment">    @Input              _Ptr A string</span>
00626 <span class="comment">    @Returns            An updated string</span>
00627 <span class="comment">    @Description        = Operator</span>
00628 <span class="comment">    *************************************************************************/</span>
00629     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a62">operator=</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Ptr);
00630 
00631     <span class="comment">/*!***********************************************************************</span>
00632 <span class="comment">    @Function           =</span>
00633 <span class="comment">    @Input              _Right A string</span>
00634 <span class="comment">    @Returns            An updated string</span>
00635 <span class="comment">    @Description        = Operator</span>
00636 <span class="comment">    *************************************************************************/</span>
00637     <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; <a class="code" href="classCPVRTString.html#a62">operator=</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right);
00638 
00639     <span class="comment">/*!***********************************************************************</span>
00640 <span class="comment">    @Function           []</span>
00641 <span class="comment">    @Input              _Off An index into the string</span>
00642 <span class="comment">    @Returns            A character</span>
00643 <span class="comment">    @Description        [] Operator</span>
00644 <span class="comment">    *************************************************************************/</span>
00645     <a class="code" href="classCPVRTString.html#w3">const_reference</a> <a class="code" href="classCPVRTString.html#a65">operator[]</a>(size_t _Off) <span class="keyword">const</span>;
00646 
00647     <span class="comment">/*!***********************************************************************</span>
00648 <span class="comment">    @Function           []</span>
00649 <span class="comment">    @Input              _Off An index into the string</span>
00650 <span class="comment">    @Returns            A character</span>
00651 <span class="comment">    @Description        [] Operator</span>
00652 <span class="comment">    *************************************************************************/</span>
00653     <a class="code" href="classCPVRTString.html#w2">reference</a> <a class="code" href="classCPVRTString.html#a65">operator[]</a>(size_t _Off);
00654 
00655     <span class="comment">/*!***********************************************************************</span>
00656 <span class="comment">    @Function           +</span>
00657 <span class="comment">    @Input              _Left A string</span>
00658 <span class="comment">    @Input              _Right A string</span>
00659 <span class="comment">    @Returns            An updated string</span>
00660 <span class="comment">    @Description        + Operator</span>
00661 <span class="comment">    *************************************************************************/</span>
00662     <span class="keyword">friend</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#n0">operator+ </a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Left, <span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right);
00663 
00664     <span class="comment">/*!***********************************************************************</span>
00665 <span class="comment">    @Function           +</span>
00666 <span class="comment">    @Input              _Left A string</span>
00667 <span class="comment">    @Input              _Right A string</span>
00668 <span class="comment">    @Returns            An updated string</span>
00669 <span class="comment">    @Description        + Operator</span>
00670 <span class="comment">    *************************************************************************/</span>
00671     <span class="keyword">friend</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#n0">operator+ </a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Left, <span class="keyword">const</span> <span class="keywordtype">char</span>* _Right);
00672 
00673     <span class="comment">/*!***********************************************************************</span>
00674 <span class="comment">    @Function           +</span>
00675 <span class="comment">    @Input              _Left A string</span>
00676 <span class="comment">    @Input              _Right A string</span>
00677 <span class="comment">    @Returns            An updated string</span>
00678 <span class="comment">    @Description        + Operator</span>
00679 <span class="comment">    *************************************************************************/</span>
00680     <span class="keyword">friend</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#n0">operator+ </a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Left, <span class="keyword">const</span> <span class="keywordtype">char</span> _Right);
00681 
00682     <span class="comment">/*!***********************************************************************</span>
00683 <span class="comment">    @Function           +</span>
00684 <span class="comment">    @Input              _Left A string</span>
00685 <span class="comment">    @Input              _Right A string</span>
00686 <span class="comment">    @Returns            An updated string</span>
00687 <span class="comment">    @Description        + Operator</span>
00688 <span class="comment">    *************************************************************************/</span>
00689     <span class="keyword">friend</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#n0">operator+ </a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _Left, <span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right);
00690 
00691 
00692     <span class="comment">/*!***********************************************************************</span>
00693 <span class="comment">    @Function           +</span>
00694 <span class="comment">    @Input              _Left A string</span>
00695 <span class="comment">    @Input              _Right A string</span>
00696 <span class="comment">    @Returns            An updated string</span>
00697 <span class="comment">    @Description        + Operator</span>
00698 <span class="comment">    *************************************************************************/</span>
00699     <span class="keyword">friend</span> <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="classCPVRTString.html#n0">operator+ </a>(<span class="keyword">const</span> <span class="keywordtype">char</span> _Left, <span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; _Right);
00700 
00701 <span class="keyword">protected</span>:
00702     <span class="keywordtype">char</span>* <a class="code" href="classCPVRTString.html#p0">m_pString</a>;
00703     size_t m_Size;
00704     size_t <a class="code" href="classCPVRTString.html#p2">m_Capacity</a>;
00705 };
00706 
00707 <span class="comment">/*************************************************************************</span>
00708 <span class="comment">* MISCELLANEOUS UTILITY FUNCTIONS</span>
00709 <span class="comment">*************************************************************************/</span>
00710 <span class="comment">/*!***********************************************************************</span>
00711 <span class="comment">@Function           PVRTStringGetFileExtension</span>
00712 <span class="comment">@Input              strFilePath A string</span>
00713 <span class="comment">@Returns            Extension</span>
00714 <span class="comment">@Description        Extracts the file extension from a file path.</span>
00715 <span class="comment">                    Returns an empty CPVRTString if no extension is found.</span>
00716 <span class="comment">************************************************************************/</span>
00717 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a1">PVRTStringGetFileExtension</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; strFilePath);
00718 
00719 <span class="comment">/*!***********************************************************************</span>
00720 <span class="comment">@Function           PVRTStringGetContainingDirectoryPath</span>
00721 <span class="comment">@Input              strFilePath A string</span>
00722 <span class="comment">@Returns            Directory</span>
00723 <span class="comment">@Description        Extracts the directory portion from a file path.</span>
00724 <span class="comment">************************************************************************/</span>
00725 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a2">PVRTStringGetContainingDirectoryPath</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; strFilePath);
00726 
00727 <span class="comment">/*!***********************************************************************</span>
00728 <span class="comment">@Function           PVRTStringGetFileName</span>
00729 <span class="comment">@Input              strFilePath A string</span>
00730 <span class="comment">@Returns            FileName</span>
00731 <span class="comment">@Description        Extracts the name and extension portion from a file path.</span>
00732 <span class="comment">************************************************************************/</span>
00733 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a3">PVRTStringGetFileName</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; strFilePath);
00734 
00735 <span class="comment">/*!***********************************************************************</span>
00736 <span class="comment">@Function           PVRTStringStripWhiteSpaceFromStartOf</span>
00737 <span class="comment">@Input              strLine A string</span>
00738 <span class="comment">@Returns            Result of the white space stripping</span>
00739 <span class="comment">@Description        strips white space characters from the beginning of a CPVRTString.</span>
00740 <span class="comment">************************************************************************/</span>
00741 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a4">PVRTStringStripWhiteSpaceFromStartOf</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; strLine);
00742 
00743 <span class="comment">/*!***********************************************************************</span>
00744 <span class="comment">@Function           PVRTStringStripWhiteSpaceFromEndOf</span>
00745 <span class="comment">@Input              strLine A string</span>
00746 <span class="comment">@Returns            Result of the white space stripping</span>
00747 <span class="comment">@Description        strips white space characters from the end of a CPVRTString.</span>
00748 <span class="comment">************************************************************************/</span>
00749 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a5">PVRTStringStripWhiteSpaceFromEndOf</a>(<span class="keyword">const</span> <a class="code" href="classCPVRTString.html">CPVRTString</a>&amp; strLine);
00750 
00751 <span class="comment">/*!***********************************************************************</span>
00752 <span class="comment">@Function           PVRTStringFromFormattedStr</span>
00753 <span class="comment">@Input              pFormat A string containing the formating</span>
00754 <span class="comment">@Returns            A formatted string</span>
00755 <span class="comment">@Description        Creates a formatted string</span>
00756 <span class="comment">************************************************************************/</span>
00757 <a class="code" href="classCPVRTString.html">CPVRTString</a> <a class="code" href="PVRTString_8h.html#a6">PVRTStringFromFormattedStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pFormat, ...);
00758 
00759 <span class="preprocessor">#endif // _PVRTSTRING_H_</span>
00760 <span class="preprocessor"></span>
00761 <span class="comment">/*****************************************************************************</span>
00762 <span class="comment">End of file (PVRTString.h)</span>
00763 <span class="comment">*****************************************************************************/</span>
00764 
</pre></div><br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
